#pragma once

#include <unordered_map>
#include "RpcConfig.h"
#include "Logger.h"
#include "RpcServer.h"
#include "RpcClient.h"
#include "ZkClient.h"

class MyRpc {
public:
    static void Init(int argc, char **argv); 
    static MyRpc &GetInstance();
    static RpcConfig &GetConfig();

private:
    MyRpc(){}
    MyRpc(const MyRpc &) = delete;
    MyRpc &operator=(const MyRpc &) = delete;
    MyRpc(MyRpc &&) = delete;

    static RpcConfig config_;
};